package com.github.prontera.model.request;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.github.prontera.domain.enums.RegionsTypeEnum;

import lombok.EqualsAndHashCode;
import lombok.ToString;

@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = true)
public class RegionsRequest extends RestfulRequest {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private RegionsTypeEnum type;
	
	private Integer parentId;

	public RegionsTypeEnum getType() {
		return type;
	}

	public void setType(RegionsTypeEnum type) {
		this.type = type;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
}

